/*
 * Class: MessageView
 * Created by: Mary Joy Pascual
 * Date Created: 06/17/2014
 * Company: Netsuite
*/
package com.netsuite.helper;

import javax.swing.JOptionPane;


public class MessageViewHelper {
	
	 public static void displayErrorView(ErrorHelper e){
	    JOptionPane.showMessageDialog(null, "[Error]:"+ e.getMessage());
	 }	
	 
	 public static void displayErrorView(Exception e){
		JOptionPane.showMessageDialog(null, "[Error]:"+ e.getMessage());
	 }	
	 
	 public static void displayValidationError(String message){
		 JOptionPane.showMessageDialog(null, message);
	 }
	 
	 public static void displaySuccessView(String message){
		 JOptionPane.showMessageDialog(null, "[Success]:"+ message);
	 }	
	 
	 public static void displayErrorView(String message){
		 JOptionPane.showMessageDialog(null, "[Error]:"+ message);
	 }	
	 



}
